
package com.zhitan.ems.app.doc.wrapper;
import com.zhitan.ems.app.doc.entity.EmsNewsCategoryEntity;
import com.zhitan.ems.app.doc.vo.EmsNewsCategoryVO;
import com.zhitan.ems.common.extra.utils.BeanUtil;
import com.zhitan.ems.framework.core.mp.base.BaseEntityWrapper;
  /**
 * 新闻分类 包装类,返回视图层所需的字段
 * @author zhitan
 * 
 * @date 2025-09-19 22:52:51
 */
public class EmsNewsCategoryWrapper extends BaseEntityWrapper<EmsNewsCategoryEntity, EmsNewsCategoryVO>  {
    public static EmsNewsCategoryWrapper build() {
        return new EmsNewsCategoryWrapper();
    }
	@Override
	public EmsNewsCategoryVO entityVO(EmsNewsCategoryEntity emsNewsCategory) {
		if(emsNewsCategory==null) {
			return null;
		}
		EmsNewsCategoryVO emsNewsCategoryVO = BeanUtil.copy(emsNewsCategory, EmsNewsCategoryVO.class);
		return emsNewsCategoryVO;
	}

}
